package com.platform.framework.serviceinf.wxpay;

import com.platform.framework.vo.pub.ResponseVo;
import com.platform.framework.vo.transfer.TransportLayer;

/**
 * 支付宝服务调用接口
 * 主要服务场景：
 * 1、H5调用支付
 * @author ly-liuxianliang
 * @version v1.0.0
 * @create_time 2016年9月2日
 */
public interface WxpayService {
	
	/**
	 * 微信H5调用支付服务
	 * @param transportLayer 调用服务必须的参数
	 */
	public ResponseVo wxH5Pay(TransportLayer transportLayer)throws Exception;
	
	/**
	 * 调用微信刷卡支付
	 * @param transportLayer
	 * @return
	 * @throws Exception
	 */
	public ResponseVo wxBarCodePay(TransportLayer transportLayer)throws Exception;
	
	/**
	 * 调用微信扫码支付，返回支付二维码url
	 * @param transportLayer
	 * @return
	 * @throws Exception
	 */
	public ResponseVo wxQRCodePay(TransportLayer transportLayer)throws Exception;
	
	/**
	 * 订单查询服务
	 * @param wxpayReqVo
	 */
	public ResponseVo wxQueryTradeResult(TransportLayer transportLayer)throws Exception;
	
	/**
	 * 微信退款接口
	 * @param wxpayReqVo
	 * @return
	 * @throws Exception
	 */
	public ResponseVo wxRefund(TransportLayer transportLayer)throws Exception;
}
